Filter hook '{$adjacent}_post_rel_link'

in WP Core File wp-includes/link-template.php at line 2086

Description

Filters the adjacent post relational link. The dynamic portion of the hook name, `$adjacent`, refers to the type of adjacency, 'next' or 'previous'. Possible hook names include: - `next_post_rel_link` - `previous_post_rel_link`

Occurrences

Filename Line Number
wp-includes/link-template.php 2086

Parameters

Type Name Description
string $link The relational link.

PHP Doc

/**
	 * Filters the adjacent post relational link.
	 *
	 * The dynamic portion of the hook name, `$adjacent`, refers to the type
	 * of adjacency, 'next' or 'previous'.
	 *
	 * Possible hook names include:
	 *
	 *  - `next_post_rel_link`
	 *  - `previous_post_rel_link`
	 *
	 * @since 2.8.0
	 *
	 * @param string $link The relational link.
	 */